package com.turing.merchant.service;

import com.alibaba.fastjson.JSONObject;
import com.turing.merchant.entity.Merchant;
import com.baomidou.mybatisplus.extension.service.IService;
import result.Result;

/**
* @author 28123
* @description 针对表【merchant(商家)】的数据库操作Service
* @createDate 2023-05-08 13:26:25
*/
public interface MerchantService extends IService<Merchant> {

    Result merList(String merchantName, String loginAccount, String merchantPhone, String categoryId, Integer cdType, String longitude, String latitude, String cityId, Integer sortType, Integer orderType, Integer pageNum, Integer pageSize);

    Result getMerById(String id);

    Result merEdit(JSONObject jsonObject);

    Result adminList(String merchantId, String cusNickname, String cusInfo, Integer sortType, Integer orderType, Integer pageNum, Integer pageSize);
}
